package com.black.app.domain.req.exercise.add;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "添加锻炼系列请求对象")
@Data
public class AppExerciseSeriesAddReq {

    @ApiModelProperty(value = "类型id")
    @NotNull(message = "{appexercisetype.not.id}")
    private Long tId;

    @ApiModelProperty(value = "类型名称")
    @NotNull(message = "{appexercisetype.not.typeName}")
    private String typeName;

    @ApiModelProperty(value = "系列标题")
    @NotNull(message = "{appexerciseseries.not.title}")
    private String title;

    @ApiModelProperty(value = "系列图片路径")
    @NotNull(message = "{appexercise.not.path}")
    private String path;

    @ApiModelProperty(value = "消耗时间")
    @NotNull(message = "{appexersieseries.not.time}")
    private Integer time;

    @ApiModelProperty(value = "消耗卡路里")
    @NotNull(message = "{appexerciseseries.not.calorie}")
    private Integer consume;

    @ApiModelProperty(value = "所需设备")
    private String equip;

    @ApiModelProperty(value = "锻炼重点")
    private String focus;
}
